package com.jinmdz.fmis.api.model.config.dictionary;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * 少量字典编码
 *
 * @author LiCongLu
 * @date 2020-02-10 14:30
 */
@Component("dictionaryCode")
@PropertySource(value = {"classpath:dictionary-code.properties"}, encoding = "utf-8")
public class DictionaryCode {

    /**
     * 火化证号.发证->cremation.printing.type.fa_zheng
     */
    @Value("${cremation.printing.type.fa_zheng}")
    private Integer cremationPrintingTypeFaZheng;

    /**
     * 火化证号.重打->cremation.printing.type.chong_da
     */
    @Value("${cremation.printing.type.chong_da}")
    private Integer cremationPrintingTypeChongDa;

    /**
     * 火化类型(遗体类型).遗体->cremation.type.yi_ti
     */
    @Value("${cremation.type.yi_ti}")
    private Integer cremationTypeYiTi;

    /**
     * 证件号码.内地居民身份证->certificate.type.nei_di
     */
    @Value("${certificate.type.nei_di}")
    private Integer certificateTypeNeiDi;

    /**
     * 火化炉类型.平板炉->furnace.type.ping_ban
     */
    @Value("${furnace.type.ping_ban}")
    private Integer furnaceTypePingBan;

    /**
     * 火化炉类型.拣灰炉->furnace.type.jian_hui
     */
    @Value("${furnace.type.jian_hui}")
    private Integer furnaceTypeJianHui;

    /**
     * 结算收费->charge.settle.type.shou_fei
     */
    @Value("${charge.settle.type.shou_fei}")
    private Integer settleTypeShouFei;

    /**
     * 结算退费->charge.settle.type.tui_fei
     */
    @Value("${charge.settle.type.tui_fei}")
    private Integer settleTypeTuiFei;

    /**
     * 付款方式.现金->charge.pay.type.xian_jin
     */
    @Value("${charge.pay.type.xian_jin}")
    private Integer payTypeXianJin;

    /**
     * 付款方式.刷卡->charge.pay.type.xian_jin
     */
    @Value("${charge.pay.type.shua_ka}")
    private Integer payTypeShuaKa;

    /**
     * 付款方式.转账->charge.pay.type.xian_jin
     */
    @Value("${charge.pay.type.zhuan_zhang}")
    private Integer payTypeZhuanZhang;

    /**
     * 付款方式.挂账->charge.pay.type.gua_zhang
     */
    @Value("${charge.pay.type.gua_zhang}")
    private Integer payTypeGuaZhang;

    /**
     * 发票.打印->invoice.state.da_yin
     */
    @Value("${invoice.state.da_yin}")
    private Integer invoiceStateDaYin;

    /**
     * 发票.重打->invoice.state.chong_da
     */
    @Value("${invoice.state.chong_da}")
    private Integer invoiceStateChongDa;

    /**
     * 发票.作废->invoice.state.zuo_fei
     */
    @Value("${invoice.state.zuo_fei}")
    private Integer invoiceStateZuoFei;

    public Integer getCremationPrintingTypeFaZheng() {
        return cremationPrintingTypeFaZheng;
    }

    public DictionaryCode setCremationPrintingTypeFaZheng(Integer cremationPrintingTypeFaZheng) {
        this.cremationPrintingTypeFaZheng = cremationPrintingTypeFaZheng;
        return this;
    }

    public Integer getCremationPrintingTypeChongDa() {
        return cremationPrintingTypeChongDa;
    }

    public DictionaryCode setCremationPrintingTypeChongDa(Integer cremationPrintingTypeChongDa) {
        this.cremationPrintingTypeChongDa = cremationPrintingTypeChongDa;
        return this;
    }

    public Integer getCremationTypeYiTi() {
        return cremationTypeYiTi;
    }

    public DictionaryCode setCremationTypeYiTi(Integer cremationTypeYiTi) {
        this.cremationTypeYiTi = cremationTypeYiTi;
        return this;
    }

    public Integer getCertificateTypeNeiDi() {
        return certificateTypeNeiDi;
    }

    public DictionaryCode setCertificateTypeNeiDi(Integer certificateTypeNeiDi) {
        this.certificateTypeNeiDi = certificateTypeNeiDi;
        return this;
    }

    public Integer getFurnaceTypePingBan() {
        return furnaceTypePingBan;
    }

    public DictionaryCode setFurnaceTypePingBan(Integer furnaceTypePingBan) {
        this.furnaceTypePingBan = furnaceTypePingBan;
        return this;
    }

    public Integer getFurnaceTypeJianHui() {
        return furnaceTypeJianHui;
    }

    public DictionaryCode setFurnaceTypeJianHui(Integer furnaceTypeJianHui) {
        this.furnaceTypeJianHui = furnaceTypeJianHui;
        return this;
    }

    public Integer getSettleTypeShouFei() {
        return settleTypeShouFei;
    }

    public DictionaryCode setSettleTypeShouFei(Integer settleTypeShouFei) {
        this.settleTypeShouFei = settleTypeShouFei;
        return this;
    }

    public Integer getSettleTypeTuiFei() {
        return settleTypeTuiFei;
    }

    public DictionaryCode setSettleTypeTuiFei(Integer settleTypeTuiFei) {
        this.settleTypeTuiFei = settleTypeTuiFei;
        return this;
    }

    public Integer getPayTypeXianJin() {
        return payTypeXianJin;
    }

    public DictionaryCode setPayTypeXianJin(Integer payTypeXianJin) {
        this.payTypeXianJin = payTypeXianJin;
        return this;
    }

    public Integer getPayTypeShuaKa() {
        return payTypeShuaKa;
    }

    public DictionaryCode setPayTypeShuaKa(Integer payTypeShuaKa) {
        this.payTypeShuaKa = payTypeShuaKa;
        return this;
    }

    public Integer getPayTypeZhuanZhang() {
        return payTypeZhuanZhang;
    }

    public DictionaryCode setPayTypeZhuanZhang(Integer payTypeZhuanZhang) {
        this.payTypeZhuanZhang = payTypeZhuanZhang;
        return this;
    }

    public Integer getPayTypeGuaZhang() {
        return payTypeGuaZhang;
    }

    public DictionaryCode setPayTypeGuaZhang(Integer payTypeGuaZhang) {
        this.payTypeGuaZhang = payTypeGuaZhang;
        return this;
    }

    public Integer getInvoiceStateDaYin() {
        return invoiceStateDaYin;
    }

    public DictionaryCode setInvoiceStateDaYin(Integer invoiceStateDaYin) {
        this.invoiceStateDaYin = invoiceStateDaYin;
        return this;
    }

    public Integer getInvoiceStateChongDa() {
        return invoiceStateChongDa;
    }

    public DictionaryCode setInvoiceStateChongDa(Integer invoiceStateChongDa) {
        this.invoiceStateChongDa = invoiceStateChongDa;
        return this;
    }

    public Integer getInvoiceStateZuoFei() {
        return invoiceStateZuoFei;
    }

    public DictionaryCode setInvoiceStateZuoFei(Integer invoiceStateZuoFei) {
        this.invoiceStateZuoFei = invoiceStateZuoFei;
        return this;
    }
}
